package com.neusoft.neuiotms.dcom.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.neusoft.bizcore.web.support.Searchable;
import com.neusoft.neuiotms.dcom.dto.OperationGroupDTO;

public interface OperationGroupService {

    List<OperationGroupDTO> index(Searchable searchable);

    Page<OperationGroupDTO> page(Searchable searchable, Pageable pageable);

    OperationGroupDTO create(final OperationGroupDTO dto);

    OperationGroupDTO update(final Long id, final OperationGroupDTO dto);

    OperationGroupDTO detail(final String id);

    void delete(final Long id);
}
